﻿using DMS.Configuration;

namespace DMS.BO.Models
{
    public interface ISearchFilter
    {
        int PageIndex { get; set; }
        int PageSize { get; set; }
    }

    public abstract class SearchFilter : ISearchFilter
    {
        public int PageIndex { get; set; }
        public int PageSize { get; set; }

        protected SearchFilter()
        {
            PageIndex = 1;
            PageSize = new HBConfig().PageSize;
        }
    }
}